/* 
 * File:   config_buzzer.h
 * Author: Ich
 *
 * Created on 12. Januar 2014, 17:06
 *
 * Description:
 * Configration file for buzzer.
 */

#ifndef CONFIG_BUZZER_H
#define	CONFIG_BUZZER_H

#ifdef	__cplusplus
extern "C" {
#endif

/*******************************************************************************
 *  includes
 */
#include <plib.h>

/*******************************************************************************
 *  public preprocessing definitions
 */
/* configurations for buzzer **/
#define CFG_BUZZER_PORT                (IOPORT_D)
#define CFG_BUZZER_PIN                 (BIT_3)

#define CFG_BUZZER_FREQ_LOW            (1000)       // [Hz]
#define CFG_BUZZER_FREQ_MIDDLE         (2000)       // [Hz]
#define CFG_BUZZER_FREQ_HIGH           (4100)       // [Hz]

 /*******************************************************************************
 *  public variables
 */

/*******************************************************************************
 *  public functions
 */



#ifdef	__cplusplus
}
#endif

#endif	/* CONFIG_BUZZER_H */

